<script setup lang="ts">
import { ref,watch } from 'vue'
import LlmTab from '@/views/setting/components/LlmTab.vue'


const activateTab = ref<string>('llm')
const visible = ref<boolean>(false)

const openDialog = () => {
  visible.value = true
  activateTab.value = 'llm'
}

defineExpose({
  openDialog
})
</script>

<template>
  <el-dialog v-model="visible" title="系统配置" width="1000" center>
    <el-tabs tab-position="left" v-model="activateTab" style="height: 200px" class="demo-tabs">
      <el-tab-pane name="llm" label="大模型">
        <LlmTab />
      </el-tab-pane>
      <el-tab-pane name="search" label="搜索引擎">
      </el-tab-pane>
    </el-tabs>
  </el-dialog>
</template>

<style scoped lang="less">

</style>
